import { SERVICES_TYPE_DIC } from '@/utils/util'
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  searchBtn: false,
  columnBtn: false,
  refreshBtn: false,
  column: [
	  {
      label: '标签名字',
      prop: 'labelName',
      rules: [{
        required: true,
        message: '请输入标签',
        trigger: 'blur'
      }]
    },
    {
      label: '是否推荐',
      prop: 'isRecommend',
      type: 'switch',
      solt: true,
      dicData: [{
        // label: '推荐',
        value: 1
      }, {
        // label: '未推荐',
        value: 0
      }],
      valueDefault: 0,
      rules: [{
        required: true,
        message: '请选择是否推荐',
        trigger: 'blur'
      }]
    },
	  {
      label: '标签排序',
      prop: 'labelSort',
      valueDefault: 100,
      solt: true,
      type: 'number',
      rules: [{
        required: true,
        message: '请输入排序',
        trigger: 'blur'
      }]
    },
    {
      label: '类型',
      prop: 'merSerTypeId',
      formsolt: true,
      solt: true,
      overHidden: true,
      span: 12,
      rules: [{
        required: true,
        message: '请选择类型',
        trigger: 'blur'
      }]
    },
    {
      label: '商铺名称',
      prop: 'shopName',
      formsolt: true,
      solt: true,
      overHidden: true,
      span: 12,
      // rules: [{
      //   required: true,
      //   message: '请选择商铺',
      //   trigger: 'blur'
      // }]
    },
    {
      label: '商品主图',
      prop: 'labelImage',
      formsolt: true,
      solt: true,
      overHidden: true,
      hide: true,
      span: 24
    },
    {
      label: '图标',
      prop: 'labelIcon',
      formsolt: true,
      solt: true,
      overHidden: true,
      hide: true,
      span: 24,
    },
  ]
}
